package edu.sctu.practice.class02.renzhaoxu.test08;

/**
 * Created by Administrator on 2015/10/22.
 */
public class Truck extends Vehicles{

    private float load;

    public Truck(String brand,String color,float load){

        super(brand, color);
        this.load=load;


    }

    void showTruck(){

        super.showInfo();
        System.out.println("重量"+load);
    }
}
